import React, { Component } from 'react'
import ShopItem from '../../component/ShopItem'

export default class Home extends Component {
  render() {
    return (
      <div className='shop-list-box'>
        {shopList.map(item => <ShopItem key={item.id} itemData={item}/>)}
      </div>
    )
  }
}


const shopList = [
  {
    id: 1001,
    name: '嘉晔短袖T恤男夏季五分袖T恤男士韩版中袖潮流5分短袖上衣服 kp911黑色 XL',
    price: '59.00',
    pic: require('../../assets/img/shop1.png')
  },
  {
    id: 1002,
    name: '真维斯短袖t恤男2022春夏季青少年宽松学生百搭休闲胖子大码时尚情侣字母半袖体恤衫ins潮流上衣服男 白色（z不言弃） L(推荐120-130斤左右)',
    price: '62.50',
    pic: require('../../assets/img/shop2.png')
  },
  {
    id: 1003,
    name: '特步男装运动短袖t恤衫春夏四季新款透气潮流修身男士休闲速干套头上衣棉T户外跑步健身综训篮足球吸汗服饰 【店长推荐】标准白品牌logo圆领速干冰丝四季基础 L(175/96A)【现货速发】',
    price: '89.00',
    pic: require('../../assets/img/shop3.png')
  },
  {
    id: 1004,
    name: '苏京猫-夹克男休闲外套男韩版潮牌ins秋冬2020潮宽松港风百搭男生上衣服 黑色 XL',
    price: '109.99',
    pic: require('../../assets/img/shop4.png')
  }, 
  {
    id: 1005,
    name: '嘉筱连帽卫衣男春秋季宽松百搭加厚上衣男学生港风潮流字母印花长袖衣服男士男装 白色 XL  105斤-140斤 优先发货',
    price: '182.00',
    pic: require('../../assets/img/shop5.png')
  },
  {
    id: 1006,
    name: '回图 夹克外套男春季潮流韩版休闲宽松男装上衣服加绒加厚款秋冬季青少年学生春秋季棒球服工装褂子拼接春装 8771灰色单件 XL',
    price: '240.00',
    pic: require('../../assets/img/shop6.png')
  }
]